define(function(){
	function json6(){
		$.ajax({
			type:"get",
			url:"http://127.0.0.1/XiaoZhuangWangXiangMu/json/index6.json",
			async:true,
			success:function(json){
				var html = "";
				for(var attr in json){
					if(attr=="header"){
						for(var i = 0;i < json[attr].length;i ++){
							html+=`
							<li class="goodInfo" data-good-id="">
							<img src="../img/${json[attr][i].src}"/>
							<a>${json[attr][i].a}</a>
							<p>${json[attr][i].p}</p>
							<span>${json[attr][i].span}</span>
							<a href="" class="cvb" >${json[attr][i].aa}</a>
						</li>
							`
						$(".wa_c").html(html);
						}
					}
				}
			}
		})
	}
	return {
		json6 : json6
	}
})
